﻿for(var i = 0; i < 56; i++) { var scriptId = 'u' + i; window[scriptId] = document.getElementById(scriptId); }

$axure.eventManager.pageLoad(
function (e) {

if ((GetCheckState('u1')) == (GetCheckState('u3'))) {

SetCheckState('u1', true);

SetCheckState('u3', false);

	var obj1 = document.getElementById("u39");
    obj1.disabled = false;

}

});
document.getElementById('u36_img').tabIndex = 0;

u36.style.cursor = 'pointer';
$axure.eventManager.click('u36', u36Click);
InsertAfterBegin(document.body, "<div class='intcases' id='u36LinksClick'></div>")
var u36LinksClick = document.getElementById('u36LinksClick');
function u36Click(e) 
{
windowEvent = e;


	ToggleLinks(e, 'u36LinksClick');
}

InsertBeforeEnd(u36LinksClick, "<div class='intcaselink' onmouseout='SuppressBubble(event)' onclick='u36Clicku74f489f91140412cbf75a8f4275e1177(event)'>Báo cáo</div>");
function u36Clicku74f489f91140412cbf75a8f4275e1177(e)
{

    self.location.href="resources/reload.html#" + encodeURI($axure.globalVariableProvider.getLinkUrl($axure.pageData.url));

	ToggleLinks(e, 'u36LinksClick');
}

InsertBeforeEnd(u36LinksClick, "<div class='intcaselink' onmouseout='SuppressBubble(event)' onclick='u36Clickuf66b3c7b321c425ca501a55d746a8cd9(event)'>Thông tin khách hàng</div>");
function u36Clickuf66b3c7b321c425ca501a55d746a8cd9(e)
{

	self.location.href=$axure.globalVariableProvider.getLinkUrl('ttkh.html');

	ToggleLinks(e, 'u36LinksClick');
}

InsertBeforeEnd(u36LinksClick, "<div class='intcaselink' onmouseout='SuppressBubble(event)' onclick='u36Clickue442bf92a97d485eab9ef6b3c7840abc(event)'>Sản Phẩm</div>");
function u36Clickue442bf92a97d485eab9ef6b3c7840abc(e)
{

	self.location.href=$axure.globalVariableProvider.getLinkUrl('sp.html');

	ToggleLinks(e, 'u36LinksClick');
}
gv_vAlignTable['u16'] = 'top';
u28.style.cursor = 'pointer';
$axure.eventManager.click('u28', function(e) {

if ((GetWidgetText('u15')) == ('')) {

	SetPanelVisibility('u52','','none',500);

}
else
if (true) {

	SetPanelVisibility('u40','','none',500);

}
});

u29.style.cursor = 'pointer';
$axure.eventManager.click('u29', function(e) {

if (true) {

	self.location.href='Home.html';

}
});

u6.style.cursor = 'pointer';
$axure.eventManager.click('u6', function(e) {

if (true) {

	SetPanelVisibility('u49','','none',500);

}
});

$axure.eventManager.keyup('u6', function(e) {

if (true) {

	SetPanelVisibility('u49','hidden','none',500);

}
});
document.getElementById('u32_img').tabIndex = 0;

u32.style.cursor = 'pointer';
$axure.eventManager.click('u32', u32Click);
InsertAfterBegin(document.body, "<div class='intcases' id='u32LinksClick'></div>")
var u32LinksClick = document.getElementById('u32LinksClick');
function u32Click(e) 
{
windowEvent = e;


	ToggleLinks(e, 'u32LinksClick');
}

InsertBeforeEnd(u32LinksClick, "<div class='intcaselink' onmouseout='SuppressBubble(event)' onclick='u32Clickuf02ee6c0e2ed4db593e9d0bb4d9f084a(event)'>Sao,Lưu</div>");
function u32Clickuf02ee6c0e2ed4db593e9d0bb4d9f084a(e)
{

	ToggleLinks(e, 'u32LinksClick');
}

InsertBeforeEnd(u32LinksClick, "<div class='intcaselink' onmouseout='SuppressBubble(event)' onclick='u32Clickuf6f99147eddd4031aa3cb82b69f1a401(event)'>Phục Hồi</div>");
function u32Clickuf6f99147eddd4031aa3cb82b69f1a401(e)
{

	ToggleLinks(e, 'u32LinksClick');
}
gv_vAlignTable['u14'] = 'top';gv_vAlignTable['u4'] = 'top';
u43.style.cursor = 'pointer';
$axure.eventManager.click('u43', function(e) {

if (true) {

	SetPanelVisibility('u45','','none',500);

}
});

u44.style.cursor = 'pointer';
$axure.eventManager.click('u44', function(e) {

if (true) {

    self.location.href="resources/reload.html#" + encodeURI($axure.globalVariableProvider.getLinkUrl($axure.pageData.url));

}
});

u1.style.cursor = 'pointer';
$axure.eventManager.click('u1', function(e) {

if ((GetCheckState('u1')) == (true)) {

SetCheckState('u1', true);

SetCheckState('u3', false);

	var obj1 = document.getElementById("u39");
    obj1.disabled = false;

}
});
gv_vAlignTable['u37'] = 'top';gv_vAlignTable['u26'] = 'top';gv_vAlignTable['u10'] = 'top';
u3.style.cursor = 'pointer';
$axure.eventManager.click('u3', function(e) {

if ((GetCheckState('u3')) == (true)) {

SetCheckState('u1', false);

SetCheckState('u3', true);

SetSelectedOption('u39', '   ');

	var obj1 = document.getElementById("u39");
    obj1.disabled = true;

}
});
gv_vAlignTable['u12'] = 'top';gv_vAlignTable['u35'] = 'top';
u27.style.cursor = 'pointer';
$axure.eventManager.click('u27', function(e) {

if ((GetWidgetText('u15')) == ('')) {

	SetPanelVisibility('u52','','none',500);

}
else
if ((GetWidgetText('u6')) == ('')) {

	SetPanelVisibility('u49','','none',500);

}
else
if ((GetWidgetText('u6')) != ('')) {

SetWidgetRichText('u16', '<p style="text-align:center;"><span style="font-family:Arial;font-size:13px;font-weight:normal;font-style:normal;text-decoration:none;color:#333333;">1</span></p>');

SetWidgetRichText('u18', '<p style="text-align:center;"><span style="font-family:Arial;font-size:13px;font-weight:normal;font-style:normal;text-decoration:none;color:#333333;">27058000</span></p>');

SetWidgetRichText('u20', '<p style="text-align:center;"><span style="font-family:Arial;font-size:13px;font-weight:normal;font-style:normal;text-decoration:none;color:#333333;">15800000</span></p>');

}
});
gv_vAlignTable['u7'] = 'top';gv_vAlignTable['u42'] = 'center';gv_vAlignTable['u24'] = 'top';gv_vAlignTable['u54'] = 'center';gv_vAlignTable['u2'] = 'top';gv_vAlignTable['u18'] = 'top';
u55.style.cursor = 'pointer';
$axure.eventManager.click('u55', function(e) {

if (true) {

	SetPanelVisibility('u52','hidden','none',500);

}
});
gv_vAlignTable['u20'] = 'top';gv_vAlignTable['u5'] = 'top';
u48.style.cursor = 'pointer';
$axure.eventManager.click('u48', function(e) {

if (true) {

    self.location.href="resources/reload.html#" + encodeURI($axure.globalVariableProvider.getLinkUrl($axure.pageData.url));

}
});
gv_vAlignTable['u22'] = 'top';gv_vAlignTable['u47'] = 'center';gv_vAlignTable['u51'] = 'center';gv_vAlignTable['u33'] = 'top';document.getElementById('u34_img').tabIndex = 0;

u34.style.cursor = 'pointer';
$axure.eventManager.click('u34', u34Click);
InsertAfterBegin(document.body, "<div class='intcases' id='u34LinksClick'></div>")
var u34LinksClick = document.getElementById('u34LinksClick');
function u34Click(e) 
{
windowEvent = e;


	ToggleLinks(e, 'u34LinksClick');
}

InsertBeforeEnd(u34LinksClick, "<div class='intcaselink' onmouseout='SuppressBubble(event)' onclick='u34Clicku78353c52367845b3a57f62c35bb0c5ac(event)'>Bán Hàng</div>");
function u34Clicku78353c52367845b3a57f62c35bb0c5ac(e)
{

	self.location.href=$axure.globalVariableProvider.getLinkUrl('banhang.html');

	ToggleLinks(e, 'u34LinksClick');
}

InsertBeforeEnd(u34LinksClick, "<div class='intcaselink' onmouseout='SuppressBubble(event)' onclick='u34Clicku534a46dc62d24458a87c6323a8bff70a(event)'>Nhập Hàng</div>");
function u34Clicku534a46dc62d24458a87c6323a8bff70a(e)
{

	self.location.href=$axure.globalVariableProvider.getLinkUrl('nhaphang.html');

	ToggleLinks(e, 'u34LinksClick');
}

InsertBeforeEnd(u34LinksClick, "<div class='intcaselink' onmouseout='SuppressBubble(event)' onclick='u34Clicku73e425975d104705a8b73b871b734c2f(event)'>Đặt Hàng</div>");
function u34Clicku73e425975d104705a8b73b871b734c2f(e)
{

	self.location.href=$axure.globalVariableProvider.getLinkUrl('dathang.html');

	ToggleLinks(e, 'u34LinksClick');
}

InsertBeforeEnd(u34LinksClick, "<div class='intcaselink' onmouseout='SuppressBubble(event)' onclick='u34Clicku5dd0fa54715146298f3bad464d11f2c2(event)'>Tra cứu khách hàng</div>");
function u34Clicku5dd0fa54715146298f3bad464d11f2c2(e)
{

	self.location.href=$axure.globalVariableProvider.getLinkUrl('tracuukh.html');

	ToggleLinks(e, 'u34LinksClick');
}
gv_vAlignTable['u0'] = 'top';